package mest.service.hank;

import mest.entity.plan_saleout;
import mest.entity.plan_takematerial;

import java.util.List;
import java.util.Map;

/**
 * @Classname PlanSaleoutService
 * @Description TODO
 * @Date 2019/12/6 15:44
 * @Created by 18416
 * @Auther: henk
 */
public interface PlanSaleoutService {

    int deleteByPrimaryKey(Integer id,String theirDb);

    int insert(plan_saleout record,String theirDb);

    int insertSelective(plan_saleout record,String theirDb);

    plan_saleout selectByPrimaryKey(Integer id,String theirDb);

    int updateByPrimaryKeySelective(Map<String, Object> map);

    int updateByPrimaryKey(plan_saleout record,String theirDb);


    int insertResult_id(Map<String, Object> map);


    /**
     * 1.model查询+模糊
     * @param record
     * @return
     */
    List<Map> queryAllModel(Integer index,
                            Integer pageSize, String record, Integer state,String theirDb);

    /**
     * 2.model 总行数查询
     * @param record
     * @return
     */

    int findCount(String record, Integer state,String theirDb);
}
